package com.ruoyi.yf.mapper;

import com.ruoyi.yf.domain.YfHospitalIndividuationData;

import java.util.List;

/**
 * 医院个性化配置Mapper接口
 *
 * @author XiaoYi...
 * @date 2020-08-24
 * 5ad48391-8c7e-4674-8be0-5d0575e48222
 */
public interface YfHospitalIndividuationDataMapper {
    /**
     * 查询医院个性化配置
     *
     * @param id 医院个性化配置ID
     * @return 医院个性化配置
     * 2318ec18-1f79-42b0-a656-e6b9429eba35
     */
    public YfHospitalIndividuationData selectYfHospitalIndividuationDataById(Long id);

    /**
     * 查询医院个性化配置列表
     *
     * @param yfHospitalIndividuationData 医院个性化配置
     * @return 医院个性化配置集合
     * ebdc25d6-f76e-4919-92d4-189f6d3a549c
     */
    public List<YfHospitalIndividuationData> selectYfHospitalIndividuationDataList(YfHospitalIndividuationData yfHospitalIndividuationData);

    /**
     * 新增医院个性化配置
     *
     * @param yfHospitalIndividuationData 医院个性化配置
     * @return 结果
     * b54c7f97-abb8-4de5-b693-d92199c4a9ca
     */
    public int insertYfHospitalIndividuationData(YfHospitalIndividuationData yfHospitalIndividuationData);

    /**
     * 修改医院个性化配置
     *
     * @param yfHospitalIndividuationData 医院个性化配置
     * @return 结果
     * 39dbe55a-4683-4644-98a1-8816390fe617
     */
    public int updateYfHospitalIndividuationData(YfHospitalIndividuationData yfHospitalIndividuationData);

    /**
     * 删除医院个性化配置
     *
     * @param id 医院个性化配置ID
     * @return 结果
     * d36d2ae9-75ec-41b6-b082-fd2071498256
     */
    public int deleteYfHospitalIndividuationDataById(Long id);

    /**
     * 批量删除医院个性化配置
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     * 1d7547b4-d94f-48c6-8a01-f7c829bb4bb5
     */
    public int deleteYfHospitalIndividuationDataByIds(String[] ids);

    // 按采集员id获取医院胎盘和危废的配置
    List<YfHospitalIndividuationData> selectYfHospitalTPAndWFConfigListByUid(Long uid);
}
